package com.cn.dao.salary;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cn.entity.TbSalary;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author qingtian
 * @create 2021-06-03 20:13
 * @
 */
@Mapper
public interface TbSalaryDao extends BaseMapper<TbSalary> {
    /**
     * 两条件模糊查询
     * @param name
     * @param idCard
     * @param page
     * @return
     */
    Page<TbSalary> selectAll(Page<TbSalary> page,@Param("name") String name, @Param("idCard") String idCard);
    TbSalary selectById(Long id);
}
